package com.naiterui.ehp.bs.ds.modules.order.vo;

import javax.validation.constraints.NotNull;

import com.naiterui.ehp.bp.support.bean.annotation.Fen2Yuan;

import lombok.Data;

import io.swagger.annotations.ApiModelProperty;

@Data
public class ReturnOrderItemVO implements java.io.Serializable {
    private static final long serialVersionUID = -4030057555658245059L;
    /**
     * 退货
     */
    public static final int TYPE_RETURN = 1;
    /**
     * 换货
     */
    public static final int TYPE_EXCHANGE = 2;
    /**
     * 补寄
     */
    public static final int TYPE_SUPPLEMENTARY = 3;
    /**
     * 商品ID
     */
    @ApiModelProperty(value = "商品ID")
    private Long productId;

    /**
     * 商品名称
     */
    @ApiModelProperty(value = "商品名称")
    private String productName;
    /**
     * sku id
     */
    @ApiModelProperty(value = "sku id")
    @NotNull(message = "商品skuId不能为空")
    private Long skuId;

    @ApiModelProperty(value = "sku 编码")
    private String skuNumber;
    /**
     * sku 名称
     */
    @ApiModelProperty(value = "sku 名称")
    private String skuName;
    /**
     * 售价
     */
    @Fen2Yuan
    @ApiModelProperty(value = "售价")
    private Integer salePrice;

    /**
     * 数量
     */
    @ApiModelProperty(value = "数量")
    @NotNull(message = "商品数量不能为空")
    private Integer quantity;
    /**
     * 退换货类型  1：退货  2:换货  3：补寄
     */
    @ApiModelProperty(value = "退换货类型")
    private Integer type;
}

